package sctu.edu.java.year2016.team07.nieying.day20160524.chapter7_2;
import com.sun.deploy.security.WinDeployNTLMAuthCallback;

/**
 * Created by Administrator on 2016/5/24 0024.
 */

/**
 * 尝试编写一个矩形类，将长与宽作为矩形类的属性，在构造方法中将长，宽初始化，定义一个成员方法求矩形面积。
 */
public class Area {
    Double length;
    Double  wide;
    public Area(Double length,Double wide){
        this.length=length;
        this.wide=wide;
    }
    public Double getLength(){
        return length;
    }
    public Double getWide(){
        return wide;
    }
}
